import request from '../utils/request'
export const getNewsList = () => {
  return request({
    method: 'get',
    url: '/api/getnewslist'
  })
}

export const getNewsInfo = id => {
  return request({
    method: 'get',
    url: '/api/getnew/' + id
  })
}


